//
//  PushTaskView.h
//  Safflower
//
//  Created by 袁亮 on 2016/11/30.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TaskModel.h"
#import "PushtaskField.h"
#import "PushtaskText.h"


@protocol PushTaskViewDelegate <NSObject>

- (void)clickTaskStartDate;

- (void)clickTaskEndDate;

- (void)clickTaskFriend;

- (void)clickUploadGift;

- (void)clickTaskDescription:(NSString *)description;

- (void)clickTaskSendWord:(NSString *)sendWord;

- (void)clickTrueWithName:(NSString *)name description:(NSString *)description sendWord:(NSString *)sendWord giftImage:(NSString *)image;

@end

@interface PushTaskView : UIView

@property (nonatomic, strong) PushtaskField *taskNameField;
@property (nonatomic, strong) PushtaskField *taskStartDateField;
@property (nonatomic, strong) PushtaskField *taskEndDateField;
@property (nonatomic, strong) PushtaskField *taskFriendField;
@property (nonatomic, strong) PushtaskField *taskUserField;

@property (nonatomic, strong) PushtaskText *descriptionText;
@property (nonatomic, strong) PushtaskText *sendWordText;

@property (nonatomic, strong) UIImage *giftImage;

@property (nonatomic, weak)   id<PushTaskViewDelegate>delegate;


@end
